<?php
/**
 * Interface for base entity class that all our entities will inherit from
 * 
 * Provides some Zend db specific methods for our resources
 * that use Zend_Db_Table. This will hopefully protect us from change
 * in the future.
 *
 * @package Custom_Model
 * @version $Id:$
 */
interface Custom_Model_EntityInterface
{
    /** Zend_Db_Table methods */
    public function info($key = null);

    /**
     *
     * create row
     * @param array $data
     */
    public function createRow(array $data = array());

    /** App methods */
    public function saveRow($info, $row = null);

}